
#ifndef BTTNWITHRND_H
#define BTTNWITHRND_H


#include <QList>
#include <QPushButton>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QRandomGenerator>
#include <QString>





class ButtonWithRnd : public QPushButton
{
    Q_OBJECT

public:

    void GenWeightList(QString FormName,QList<int> &WeiList);
    int IndexWithWeight(const QList<int> &WeightList);
    QString ReadStrWt(QString FormName, QString OutType,int ID);
    float ReadGrowth(QString Subtype);
    QString InitMap(QString MainStr);


public slots:

};






#endif // BTTNWITHRND_H
